package com.cyh.testdesignpattern.appearance;

import android.util.Log;

//DVD
public class DVDPlayer {
    private static DVDPlayer instance = new DVDPlayer();
    public static DVDPlayer getInstance() {
        return instance;
    }

    public void on() {
        Log.i("DVDPlayer", "dvd on");
    }

    public void off() {
        Log.i("DVDPlayer", "dvd off");
    }

    public void play() {
        Log.i("DVDPlayer", "dvd is playing");
    }

    public void pause() {
        Log.i("DVDPlayer", "dvd is pause");
    }
}
